package com.wxyzz.cem.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author xclhove
 */

@Getter
@AllArgsConstructor
public enum LoginRole {
    BACK_ADMIN(1, "后台管理员"),
    USER(2, "普通用户");
    @EnumValue
    private final Integer code;
    @JsonValue
    private final String description;
}
